<?php
session_start();
error_reporting(0);
if($_SESSION["msg"]== 1)
{
$login_user=$_SESSION["session_user"];
?>
<p>&nbsp;
<h1>welcome <?php echo $login_user ?> ...</h1>
&nbsp;
</p>
<?php
}
if($_GET['act'] =='buy'){
						  $pid = $_GET['pid'];
						 $title = $_GET['title'];
						 $Author = $_GET['Author'];
						 $price = $_GET['price'];
						 $desc = $_GET['desc'];
						 $img = $_GET['img'];
					
					}	
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<title>Item cart</title>
	<link rel="stylesheet" href="../css/style.css" type="text/css" media="all" />
	<!--[if lte IE 6]>
		<style type="text/css" media="screen">
			.tabbed { height:420px; }
		</style>
	<![endif]-->
	
	<script src="../js/jquery-1.4.1.min.js" type="text/javascript"></script>
	<script src="../js/jquery.jcarousel.pack.js" type="text/javascript"></script>
	<script src="../js/jquery.slide.js" type="text/javascript"></script>
	<script src="../js/jquery-func.js" type="text/javascript"></script>
  

<script type="text/javascript" src="../js/highslide-with-html.js"></script>
<link rel="stylesheet" type="text/css" href="../css/highslide.css" />
<script type="text/javascript">

hs.graphicsDir = '../graphics/';
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'draggable-header';

</script>	
</head>
<body>
<!-- Top -->
<div id="top">
	
  <div class="shell">
		
		<!-- Header -->
		<div id="header">
			
			<div id="navigation">
				<ul>
				    <li><a href="user_home.php">Home</a></li>
					<li><a href="#">Support</a></li>
					<li><a href="#">The Store</a></li>
					<?php if($login_user !=''){ ?><li class="last"><a href="logout.php">Logout</a></li> <?php } ?>
				</ul>
			</div>
		</div>
		<!-- End Header -->
		
			
	</div>
</div>
<!-- Top -->

<!-- Main -->
<div id="main">
	<div class="shell">
		
		<!-- Search, etc -->
		<div class="options">
			<div class="search">
				<form action="" method="post">
					<span class="field"><input type="text" class="blink" value="SEARCH" title="SEARCH" /></span>
					<input type="text" class="search-submit" value="GO" />
				</form>
			</div>
			<span class="left"><a href="#">Advanced Search</a></span>
			<div class="right">
				<span class="cart">
					<a href="#" class="cart-ico">&nbsp;</a>
					<strong><?php echo $price?></strong>
				</span>
				<span class="left more-links">
					<a href="#">Checkout</a>
					<a href="#">Details</a>
				</span>
			</div>
		</div>
		<!-- End Search, etc -->
		
		<!-- Content -->
		<div id="content">
			
						
				  <form action="" method="post">
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <table width="925" height="123" cellpadding="0" cellspacing="0" bordercolordark="#990000" border="1">
                   <tr>
                   <th width="241" style="font-size:16px">Title</th>
                   <th width="190"> Author </th>
                   <th width="94"> Price </th>
                   <th width="203"> Item </th>
                   <th width="173"> Quantity </th>
                   </tr>
                   <tr>
                   <td height="60">&nbsp;&nbsp;&nbsp;<?php echo $title?></td>
                   <td height="60">&nbsp;&nbsp;&nbsp;<?php echo $Author?></td>
                   <td height="60">&nbsp;&nbsp;&nbsp;<?php echo $price?></td>
                   <th height="60"><img src="<?php echo $img?>" height="50" width="50" border="1"/></th>
                   <th height="60"><select name="qty" >
                   <?php 
				   for($i=1;$i<=10;$i++)
				   {
				   ?>
                   <option value=<?=$i?>><?php echo $i?></option>
                   <?php 
				   
				   }
				   ?>
                   </select></th>
                   </tr>
                   </table>
                    <p>&nbsp;</p>
                    <table width="899" height="51">
                   <tr><td width="790"></td>
                   <td width="132" colspan="4" align="right"><input type="submit"  name="buy" value="Make Payment" /></td></tr>
                  </table> 
                                                       
                  </form>
                  <div id="txtHint">
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                  </div>
				 
				
				<!-- Brands -->
				<div class="brands">
					<h3>Brands</h3>
					<div class="logos">
						<a href="#"><img src="../images/logo1.gif" alt="" height="70" width="110" /></a>
						<a href="#"><img src="../images/logo2.gif" alt="" height="70" width="110"  /></a>
						<a href="#"><img src="../images/logo3.gif" alt=""  height="70" width="110" /></a>
						<a href="#"><img src="../images/logo4.gif" alt="" height="70" width="110" /></a>
					</div>
				</div>
				<!-- End Brands -->
				
				<!-- Footer -->
				<div id="footer">
					<div class="left">
						<a href="#">Home</a>
						<span>|</span>
						<a href="#">Support</a>
						<span>|</span>
						<a href="#">My Account</a>
						<span>|</span>
						<a href="#">The Store</a>
						<span>|</span>
						<a href="#">Contact</a>
					</div>
					<div class="right">
						&copy;  Design by <a href="http://chocotemplates.com" target="_blank" title="CSS Templates"></a>
					</div>
				</div>
				<!-- End Footer -->
				
			</div>
			<!-- End Container -->
			
		</div>
		<!-- End Content -->
		
	</div>
</div>
<!-- End Main -->
	
</body>
</html>